package com.retail.xiaocui.common.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.retail.common.core.annotation.Excel;
import com.retail.common.core.web.domain.BaseEntity;

/**
 * 采购需求申请对象 t_procurement
 *
 * @author retail
 * @date 2024-03-02
 */
public class Procurement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Integer id;

    /** 采购Id */
    @Excel(name = "采购Id")
    private Integer procurementId;

    /** 商品Id */
    @Excel(name = "商品Id")
    private Integer skuId;

    /** 商品的数量 */
    @Excel(name = "商品的数量")
    private Integer productCount;

    /** 采购金额 */
    @Excel(name = "采购金额")
    private BigDecimal procurementPrice;

    /** 仓库id */
    @Excel(name = "仓库id")
    private Integer warehouseId;

    /** 状态 1新建 2采购中 3采购完成 */
    @Excel(name = "状态 1新建 2采购中 3采购完成")
    private Integer status;

    /**商品名称 */
    @Excel(name = "商品名称")
    private String skuName;

    /**仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;



    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setProcurementId(Integer procurementId)
    {
        this.procurementId = procurementId;
    }

    public Integer getProcurementId()
    {
        return procurementId;
    }
    public void setSkuId(Integer skuId)
    {
        this.skuId = skuId;
    }

    public Integer getSkuId()
    {
        return skuId;
    }
    public void setProductCount(Integer productCount)
    {
        this.productCount = productCount;
    }

    public Integer getProductCount()
    {
        return productCount;
    }
    public void setProcurementPrice(BigDecimal procurementPrice)
    {
        this.procurementPrice = procurementPrice;
    }

    public BigDecimal getProcurementPrice()
    {
        return procurementPrice;
    }
    public void setWarehouseId(Integer warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public Integer getWarehouseId()
    {
        return warehouseId;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("procurementId", getProcurementId())
            .append("skuId", getSkuId())
            .append("productCount", getProductCount())
            .append("procurementPrice", getProcurementPrice())
            .append("warehouseId", getWarehouseId())
            .append("status", getStatus())
            .append("skuName", getSkuName())
            .append("warehouseName", getWarehouseName())
            .toString();
    }
}
